﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkFlowCore.Common.Authorization.JWT
{
    public class AuthorizationUser
    {
        public AuthorizationUser()
        {
        }

        public AuthorizationUser(string id, string name, bool isManager, string appId)
        {
            Name = name;
            Id = id;
            IsManager = isManager;
            AppId = appId;
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set;}
        /// <summary>
        /// 用户id
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 是否管理员
        /// </summary>
        public bool IsManager { get; set; }
        /// <summary>
        /// 应用id
        /// </summary>
        public string AppId { get; set; }
    }
}
